#pragma once


#include "Property/EditorPropertyView.h"
#include "EditorReflectedPropertyView.m.h"


class REditorReflectedPropertyViewModel;

RCLASS()
class REditorReflectedPropertyView : public REditorPropertyView
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorPropertyViewModel> InViewModel) override;
    virtual void CreateWidget(TSharedObjectPtr<RVerticalPositionerWidget> InValueList) override;

protected:
    TWeakObjectPtr<REditorReflectedPropertyViewModel> PropertyViewModel;

    TWeakObjectPtr<RVerticalPositionerWidget> List;

    void UpdateListContent();
};